import request from '@/utils/request'

// 获取列表
export function getPlaceList (params = {}) {
  return request({
    url: '/launch/gdtReport/dimensionList',
    method: 'get',
    params: params
  })
}

// 查询列表数据
export function dataList(query) {
  return request({
    url: '/launch/gdtReport/dataList',
    method: 'get',
    params: query
  })
}

// 查询列表数据
export function listTable(query) {
  return request({
    url: '/launch/gdtReport/list',
    method: 'get',
    params: query
  })
}

// 修改出价
export function updatePrice(data) {
  return request({
    url: '/launch/gdtReport/updatePrice',
    method: 'post',
    data: data
  })
}

// 修改计划预算
export function updatePlanDayBudget(data) {
  return request({
    url: '/launch/gdtReport/updatePlanDayBudget',
    method: 'post',
    data: data
  })
}

// 拉取报表数据
export function gdtTask(query) {
  return request({
    url: '/launch/gdtReport/gdtTask',
    method: 'get',
    params: query
  })
}